package com.example.teacherservice.dto;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class CourseDTO {
    private Long id;
    private Long couClassId; // 新增CouClass的ID
    private String couName;
    private String couIntroduction;
    private Long couPrice;
    private Integer status; // 新增状态字段
    private Timestamp createTime;

    public CourseDTO(Long id, String couName, String couIntroduction, Timestamp createTime) {
        this.id = id;
        this.couName = couName;
        this.couIntroduction = couIntroduction;
        this.createTime = createTime;
    }

    public CourseDTO() {}

}